<?php

namespace app\product\controller;

use app\common\controller\PCBase;
use app\BaseController;//测试专用
use app\product\logic\ProductFeedbackLogic;
use think\facade\Db;
use Throwable;
use app\common\library\Upload;

class ProductFeedback extends BaseController
{



    public function initialize(): void
    {
        parent::initialize();
    }

    /**
    * @desc    反馈-产品维度列表
    * @date    2024/7/16
    * @author  zhangheng
    */
    public function ProductFeedbackList()
    {
        $params     = $this->request->post();
        $ProductFeedbackLogic = new ProductFeedbackLogic();
        return $ProductFeedbackLogic->ProductFeedbackList($params);
    }

    /**
    * @desc    反馈-售后类型列表
    * @date    2024/7/16
    * @author  zhangheng
    */
    public function AfterSalesFeedbackList()
    {
        $params     = $this->request->post();
        $ProductFeedbackLogic = new ProductFeedbackLogic();
        return $ProductFeedbackLogic->AfterSalesFeedbackList($params);
    }

    /**
    * @desc    反馈-店铺维度列表
    * @date    2024/7/16
    * @author  zhangheng
    */
    public function ShopFeedbackList()
    {
        $params     = $this->request->post();
        $ProductFeedbackLogic = new ProductFeedbackLogic();
        return $ProductFeedbackLogic->ShopFeedbackList($params);
    }

    /**
     * export
     * @throws Throwable
     */
    public function ProductFeedbackExport()
    {
        $params     = $this->request->post();
        $ProductFeedbackLogic = new ProductFeedbackLogic();
        return $ProductFeedbackLogic->ProductFeedbackExport($params);
    }
    /**
     * export
     * @throws Throwable
     */
    public function AfterSalesFeedbackExport()
    {
        $params     = $this->request->post();
        $ProductFeedbackLogic = new ProductFeedbackLogic();
        return $ProductFeedbackLogic->AfterSalesFeedbackExport($params);
    }
    /**
     * export
     * @throws Throwable
     */
    public function ShopFeedbackExport()
    {
        $params     = $this->request->post();
        $ProductFeedbackLogic = new ProductFeedbackLogic();
        return $ProductFeedbackLogic->ShopFeedbackExport($params);
    }

}
